<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>个人首页</title>
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <!-- No Baidu Siteapp-->
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--<meta name="format-detection" content="telephone = no" />-->
    <!-- Add to homescreen for Chrome on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <!-- Add to homescreen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="个人首页" />
    <meta name="msapplication-TileColor" content="#090a0a">
    <link rel="stylesheet" href="__ROOT__/static/home/css/css_style.css">
    <script src="__ROOT__/static/plugins/layer.mobile-v2.0/layer_mobile/layer.js"></script>
    <script src="__ROOT__/static/plugins/layer.mobile-v2.0/layer_mobile/need/layer.css"></script>
    <script type="text/javascript" src="__ROOT__/static/home/js/zepto.min.js"></script>
    <script type="text/javascript" src="__ROOT__/static/home/js/TouchSlide.1.1.js"></script>
    <link href="__ROOT__/static/home/css/userInfo/css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="__ROOT__/static/home/css/userInfo/css/style.css" />
    <script src="__ROOT__/static/home/js/jquery-1.11.1.min.js"></script>

</head>

<body>
<div class="member-top">
    <div class="header-r">
        <a href=""><i class="iconfont"></i></a>
    </div>
    <div class="member-info">
        <div class="user-avatar"><a href=""><img src="__ROOT__/{if condition="!empty($userInfo['avatar_url'])"}{$userInfo['avatar_url']}{else /}static/home/css/userInfo/images/default_user_portrait_0.png{/if}"></a></div>
        <div class="user-name"><span>{if condition="isset($userInfo['nickname'])"}{$userInfo['nickname']}{/if}<sup>注册会员</sup></span></div>
    </div>
</div>
<div class="user-order-box">
    <dl>
        <a href="{:url('home/Myorder/allOrder',array('id'=>1111))}">
            <dt>
                <strong>全部订单</strong>
                <span>查看全部订单</span>
            </dt>
        </a>
    </dl>
    <ul>
        <li>
            <a href="{:url('home/Myorder/allOrder',array('id'=>0))}">
                <div class="user_order">
                    <i class="iconfont">&#xe631;</i>
                    <em style="color: red;font-size: 20px">{if condition="$rows.wait_payment" neq 0}{$rows.wait_payment}{/if}</em>
                </div>
                <span>待付款</span>
            </a>
        </li>
        <li>
            <a href="{:url('home/Myorder/allOrder',array('id'=>1))}">
                <div class="user_order">
                    <i class="iconfont">&#xe67b;</i>
                    <em style="color: red;font-size: 20px">{if condition="$rows.wait_send" neq 0}{$rows.wait_send}{/if}</em>
                </div>
                <span>待发货</span>
            </a>
        </li>
        <li>
            <a href="{:url('home/Myorder/allOrder',array('id'=>2))}">
                <div class="user_order">
                    <i class="iconfont">&#xe775;</i>
                    <em style="color: red;font-size: 20px">{if condition="$rows.wait_receipt" neq 0}{$rows.wait_receipt}{/if}</em>
                </div>
                <span>待收货</span>
            </a>
        </li>
        <li>
            <a href="{:url('home/Myorder/allOrder',array('id'=>3))}">
                <div class="user_order">
                    <i class="iconfont">&#xe663;</i>
                    <em style="color: red;font-size: 20px">{if condition="$rows.wait_appraise" neq 0}{$rows.wait_appraise}{/if}</em>
                </div>
                <span>待评价</span>
            </a>
        </li>
    </ul>
</div>
<div class="uset-center-content">
    <a href="{:url('home/Userinfo/coupons')}">
        <em class="exchange-icon"></em>
        <dl>
            <dt>我的优惠券</dt>
            <dd>数量<font color="red">{if condition='isset($couponsCt)'}{$couponsCt}{else/}{/if}</font></dd>
        </dl>
    </a>
    <a href="{:url('home/Address/addressList')}">
        <em class="consignee-address-icon"></em>
        <dl class="border_bottm">
            <dt>收货地址</dt>
            <dd>添加/修改</dd>
        </dl>
    </a>
    <a href="{:url('home/Userinfo/userinfo')}">
        <em class="user-info-icon"></em>
        <dl>
            <dt>个人资料</dt>
            <dd>查看/修改</dd>
        </dl>
    </a>
    <a href="{:url('home/Userinfo/message')}">
        <em class="btn-popularize-icon"></em>
        <dl class="border_bottm">
            <dt>消息通知</dt>
            <dd>未读消息<font color="red">{if condition='isset($notRead)'}{$notRead}{else/}{/if}</font></dd>
        </dl>
    </a>
    <a href="{:url('home/Userinfo/friends')}">
        <em class="groupon-icon"></em>
        <dl class="border_bottm">
            <dt>好友列表</dt>
            <dd>查找/添加<font color="red"></font></dd>
        </dl>
    </a>
</div>


<div class="uset-center-content" id="cancellation">
    <a>
        <em class="sign-off-icon"></em>
        <dl on>
            <dt>注销</dt>
        </dl>
    </a>
</div>
<div style="height: 50px"></div>
<div class="h50"></div>
<div class="footer_fixed clearfix">
    <span><a href="{:url('home/Index/index')}" ><i class="home_icon"></i><b>首页</b></a></span>
    <span><a href="{:url('home/Community/index')}"><i class="customer_icon"></i><b>社区</b></a></span>
    <span><a href="{:url('home/Shopping/index')}"><i class="store_icon"></i><b>商城</b></a></span>
    <span><a href="{:url('home/Userinfo/index')}" class="aon"><i class="member_icon"></i><b>个人中心</b></a></span>
</div>
<script>
    $(document).ready(function(){
        $("#cancellation").click(function(){
            layer.open({
                content: '是否要注销当前账户'
                ,btn: ['取消', '注销']
                ,skin: 'footer'
                ,no: function(index){
                    layer.open({content: '注销中...'});
                    window.location.href='{:url('home/Login/cancellAtion')}';
                }
            });
        })
    })
</script>
</body>
</html>
